package com.xyht.sca_s.student_manage_system.modules.assetConsumableBorrow.entity.resp;

import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 低值易耗品领用申请
 * </p>
 *
 * @author XYHT
 * @since 2023-06-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_asset_consumable_borrow_apply")
@ApiModel(value="SmsAssetConsumableBorrowApply对象", description="低值易耗品领用申请")
public class SmsAssetConsumableBorrowApplyMPJResp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "申请表id")
    private String applyId;

    @ApiModelProperty(value = "申请人id")
    private String applyUserId;

    @ApiModelProperty(value = "流程节点id")
    private String detailId;

    @ApiModelProperty(value = "审批人id")
    private String allowUserId;

    @ApiModelProperty(value = "申请单据标题")
    private String applyName;

    @ApiModelProperty(value = "供应商")
    private String applySupplier;

    @ApiModelProperty(value = "备注")
    private String applyRemark;

    @ApiModelProperty(value = "申请领用时间")
    private Date applyTime;

    @ApiModelProperty(value = "附件")
    private String applyAttachment;

    @ApiModelProperty(value = "申请人")
    private String applyPerson;

    @ApiModelProperty(value = "申请部门")
    private String applyDepartment;

    @ApiModelProperty(value = "入库申请当天申请批次")
    private Integer applySort;

    @ApiModelProperty(value = "审批状态：0：审批中，1：通过，2：驳回，3：撤回")
    private Integer allowStatus;

    @ApiModelProperty(value = "申请结束时间")
    private Date endTime;

    @ApiModelProperty(value = "申请领用用途")
    private String applyUse;

    @ApiModelProperty(value = "申请结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date applyEndTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date applyCreateTime;

    @ApiModelProperty(value = "审批状态：0：审批中  1：通过   2：驳回   3：撤回结束  4：驳回结束")
    private Integer processDetailStatus;

    @ApiModelProperty(value = "审批备注")
    private String processDetailRemark;
}
